package com.ziqing.apeletnews.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.ziqing.apeletnews.R;
import com.ziqing.apeletnews.base.BaseActivity;
import com.ziqing.apeletnews.baseMvp.BasePresenter;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by YYJ on 2018/4/27.
 */

public class SettingsActivtiy extends BaseActivity {

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);
        ButterKnife.bind(this);
        setTitle("设置");
        setUpToolbar(R.drawable.icon_back);
    }

    @OnClick({R.id.tv_about_us,R.id.tv_about_author,R.id.tv_tutorial,R.id.tv_suggest,R.id.tv_recommend,R.id.tv_praise,R.id.ll_clean_storage,R.id.tv_encourage,R.id.tv_quit})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_about_us:
                startActivity(new Intent(this,AboutUsActivity.class));
                break;
            case R.id.tv_about_author:
                startActivity(new Intent(this,AboutAuthorActivity.class));
                break;
            case R.id.tv_tutorial:
                break;
            case R.id.tv_suggest:
                break;
            case R.id.tv_recommend:
                break;
            case R.id.tv_praise:
                break;
            case R.id.ll_clean_storage:
                break;
            case R.id.tv_encourage:
                break;
            case R.id.tv_quit:
                break;
        }
    }



}
